package com.ningxun.pagent.bus.task;

import com.ningxun.pagent.bus.service.IBusPolicyContentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component("ExpirationTask")
public class ExpirationTask {

    @Autowired
    public IBusPolicyContentService BusPolicyContentService;

    //定时校验是否过期
    public void checkExpired(){
        BusPolicyContentService.checkExpire();
    }
}
